package com.ml.mall.service.variant;

import com.ml.mall.bean.req.CommonDelReq;
import com.ml.mall.bean.req.variant.VariantRecommendDelReq;
import com.ml.mall.bean.req.variant.VariantRecommendEditReq;
import com.ml.mall.bean.req.variant.VariantRecommendNewReq;
import com.ml.mall.bean.req.variant.VariantRecommendQueryReq;
import com.ml.mall.bean.res.variant.VariantRecommendQueryRes;
import com.ml.mall.entity.variant.SysProductVariant;
import com.ml.mall.entity.variant.SysProductVariantRecommend;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* <p>
    *  服务类
    * </p>
*
* @author kyyang
* Created 2021-05-31
*/
public interface SysProductVariantRecommendService extends IService<SysProductVariantRecommend> {
    //新增推荐
    int variantRecommendNew(VariantRecommendNewReq req);

    //删除推荐
    int variantRecommendDel(VariantRecommendDelReq req);

    //编辑Sort
    int variantRecommendEdit(VariantRecommendEditReq req);

    //查询全部
    List<VariantRecommendQueryRes> variantRecommendQueryAll(VariantRecommendQueryReq req);

}
